package cn.java59;

import java.util.Scanner;

public class Demo11 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.print("输入姓名：");
		String name = sc.next();
		System.out.print("输入年龄:");
		int age = sc.nextInt();
		System.out.print("输入性别:");
		char sex = sc.next().charAt(0);

		System.out.println("姓名:" + name);
		System.out.println("年龄:" + age);
		System.out.println("性别:" + sex);

	}

}
